import { createSSRApp } from "vue"
import App from "./App.vue"
import tui from "@/thorui/common/httpRequest"
import propsConfig from "@/thorui/components/tui-config/index.js"
import "tailwindcss/tailwind.css"

// @ts-ignore
uni.$tui = propsConfig
export function createApp() {
  const app = createSSRApp(App)
  app.config.globalProperties.tui = tui
  return {
    app,
  }
}
